using System;
using System.Windows.Forms;
using Palaso.Reporting;

namespace SpellCenter.UI
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Logger.Init();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            WordStatusForm app = new WordStatusForm();
            try
            {
                Application.Run(app);
            }
            catch(Exception ec)
            {
                ErrorNotificationDialog.ReportException(ec, app);
            }
            finally
            {
                Logger.ShutDown();
            }
        }
    }
}